package com.example.su_shi_tan_mine.child.provider

import com.example.su_shi_tan_bas_lib.adapter.JssBaseViewHolder
import com.example.su_shi_tan_bas_lib.adapter.multi22.Basic.JssBaseItemProvider
import com.example.su_shi_tan_mine.R
import com.example.su_shi_tan_mine.child.bean.PayingWayListBean

class PayingWayListBankPayProvider: JssBaseItemProvider<PayingWayListBean?, JssBaseViewHolder>(){
    override val itemViewType: Int
        get() =  PayingWayListBean.bank_card
    override val layoutId: Int
        get() = R.layout.paying_way_list_bank_pay_provider

    override fun convert(helper: JssBaseViewHolder?, item: PayingWayListBean?) {
        helper
            ?.setText(R.id.bankAccount,item?.number)
            ?.setText(R.id.bankRelName,item?.real_name)
            ?.setText(R.id.bankName,item?.bank)
            ?.setText(R.id.bankChildName,item?.bank)

    }
}